﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Himp.Platform.Api
{
    public class OpenApiOutput
    {
        /// <summary>
        /// 交易状态码
        /// </summary>
        public int InfCode { get; set; }

        /// <summary>
        /// 接收方报文ID
        /// </summary>
        public string InfRefMsgId { get; set; }

        /// <summary>
        /// 接收报文时间
        /// </summary>
        public string RefMsgTime { get; set; }

        /// <summary>
        /// 响应报文时间
        /// </summary>
        public string RespondTime { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public string ErrMsg { get; set; }

        /// <summary>
        /// 交易输出
        /// </summary>
        public string Output { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public OpenApiOutput()
        {
            Output = string.Empty;
            ErrMsg = string.Empty;
            RefMsgTime = DateTime.Now.ToString("yyyyMMddHHmmssfff");
        }
    }
}
